<template>
	<view class="privicy">
		<comHead :title="$t('grzx.ysxy')" :isLeft="true" :isRight="false"></comHead>
		<view class="text">
			<u-parse :content="text"></u-parse>
		</view>
	</view>
</template>

<script>
	import uParse from '@/components/u-parse/u-parse.vue'
	export default {
		components: {
			uParse
		},
		data() {
			return {
				text: '',
			}
		},
		onReady() {
			this.getUserContent()
		},
		methods: {
			async getUserContent(){
				const res = await this.$myRequest({
					url: 'api/system/getUserContent',
					data: {}
				})
				this.text = res.data.privacy_content;
			}
		}
	}
</script>

<style lang="less" scoped>
	.privicy {
		min-height: 100vh;

		.text {
			padding: 0 30rpx 30rpx;
			box-sizing: border-box;
			color: #999;
			font-size: 28rpx;
			line-height: 42rpx;

			.tit {
				margin-bottom: 36rpx;
			}
		}
		
		::v-deep .b{
			margin: 20px 0 !important;
		}
	}
</style>